package com.tran.tr.good.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 商品表
 * </p>
 *
 * @author ssh
 * @since 2021-01-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tr_good")
@ApiModel(value="TrGood对象", description="商品表")
public class TrGood implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "ID")
      private String id;

    @ApiModelProperty(value = "商品名称")
    private String goodname;

    @ApiModelProperty(value = "商品价格")
    private BigDecimal price;

    @ApiModelProperty(value = "商品库存")
    private Integer stock;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;


}
